#pragma once 
#include "func.h"
#include <omp.h>
#include <iostream>
#include "windows.h"

void main()
{
	LARGE_INTEGER freq;
	LARGE_INTEGER sQP, fQP;

	QueryPerformanceFrequency(&freq);
	QueryPerformanceCounter(&sQP);

		printf("p= %i\n", incParall(0,NUMB));

	QueryPerformanceCounter(&fQP);
		
	printf("%lf \n",(fQP.QuadPart-sQP.QuadPart)/(double)freq.QuadPart);


	QueryPerformanceFrequency(&freq);
	QueryPerformanceCounter(&sQP);

		printf("c= %i\n", incCons(0,NUMB)); 

	QueryPerformanceCounter(&fQP);
	
	
	printf("%lf \n\n",(fQP.QuadPart-sQP.QuadPart)/(double)freq.QuadPart);

	std::cin.get();
}
